package com.ruyuan.seckilling.activity.constant;

import lombok.Getter;

/**
 * @author zhonghuashishan
 */
@Getter
public enum ActivityStatusVal {

    NEW_CREATE(1, "新创建"),
    AUDIT_PENDING(2, "待审核"),
    AUDIT_NOT_PASS(3, "审核未通过"),
    AUDIT_PASS(4, "审核通过"),
    PAGE_RENDERING(5, "页面渲染中"),
    PAGE_RENDERED(6, "页面已渲染"),
    INVENTORY_SYNCING(7, "库存同步中"),
    INVENTORY_SYNCED(8, "库存已同步"),
    ACTIVITY_OVER(9, "活动到期已结束"),
    DATA_CLEANED(10, "数据已清理"),
    ACTIVITY_CLOSED(20, "活动关闭已结束")
    ;

    private int code;
    private String desc;

    ActivityStatusVal(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
